<?php namespace app\admin\controller;
use houdunwang\session\Session;

class Common
{
  public  function __construct()
  {
//      p(Session::get('ustatus'));
      if(!Session::get('uid')){
          go('admin.login.index');
      }
      if(method_exists($this,'__init')){
          $this->__init();
      }
  }
}